package kpython.backend.ir.tree;

public class Return extends Expr {

	public Expr expr = null;	

	public void printTree(String tab) {
		System.out.println(tab+this.getClass().getSimpleName());
		expr.printTree(tab+"\t");
	}
	
	public Object accept(IRTreeVisitor visitor, Object data) {
		return visitor.visit(this, data);
	}
	
	public String toString() {
		return this.getClass().getSimpleName();
	}
}
